Add share-log subcomamnd to upload install.log to paste.rs#4511
Open
Softer wants to merge 3 commits intoarchlinux:masterfrom
Open
Add share-log subcomamnd to upload install.log to paste.rs#4511Softer wants to merge 3 commits intoarchlinux:masterfrom
Softer wants to merge 3 commits intoarchlinux:masterfrom
Conversation
1 task
Member
|
Just note that I started a conversation about an arch official channel for posting these logs. I created a ticket to track the progress on gitlab@archlinux #833 |
Contributor
Author
|
We can change --share-log behavior transparently for users any time we need without changing user's expectation. :) |
svartkanin
reviewed
May 3, 2026
svartkanin
reviewed
May 3, 2026
svartkanin
reviewed
May 3, 2026
svartkanin
reviewed
May 3, 2026
svartkanin
reviewed
May 3, 2026
Contributor
Author
|
Changes per review:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the broken curl ... https://0x0.st hint with an integrated archinstall share-log command that uploads /var/log/archinstall/install.log to paste.rs and prints a shareable URL. Also updates the same hint in the README, the bug report docs, and the GitHub bug issue template, so all four user-facing references now point to the working command.
Refs #4396 (0x0.st has disabled uploads). Supersedes #4507, which removes the hint without offering a replacement.
Why paste.rs
The endpoint is referenced exactly once - a constant in archinstall/lib/output.py. If a self-hosted paste service is set up later, or 0x0.st returns, swapping it is a one-line change.
Behavior
$ archinstall share-log
About to upload /var/log/archinstall/install.log (12345 bytes) to https://paste.rs
The log may contain hostname, mirror URLs, package list and partition layout.
The uploaded paste is public.
Continue?
https://paste.rs/abc.def
Test plan